﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200001B RID: 27
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class AcceptMissionEventCsReq : IMessage<AcceptMissionEventCsReq>, IMessage, IEquatable<AcceptMissionEventCsReq>, IDeepCloneable<AcceptMissionEventCsReq>, IBufferMessage
	{
		// Token: 0x17000045 RID: 69
		// (get) Token: 0x0600010C RID: 268 RVA: 0x0000463C File Offset: 0x0000283C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<AcceptMissionEventCsReq> Parser
		{
			get
			{
				return AcceptMissionEventCsReq._parser;
			}
		}

		// Token: 0x17000046 RID: 70
		// (get) Token: 0x0600010D RID: 269 RVA: 0x00004643 File Offset: 0x00002843
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return AcceptMissionEventCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000047 RID: 71
		// (get) Token: 0x0600010E RID: 270 RVA: 0x00004655 File Offset: 0x00002855
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return AcceptMissionEventCsReq.Descriptor;
			}
		}

		// Token: 0x0600010F RID: 271 RVA: 0x0000465C File Offset: 0x0000285C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AcceptMissionEventCsReq()
		{
		}

		// Token: 0x06000110 RID: 272 RVA: 0x00004664 File Offset: 0x00002864
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AcceptMissionEventCsReq(AcceptMissionEventCsReq other) : this()
		{
			this.missionEventId_ = other.missionEventId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06000111 RID: 273 RVA: 0x00004689 File Offset: 0x00002889
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AcceptMissionEventCsReq Clone()
		{
			return new AcceptMissionEventCsReq(this);
		}

		// Token: 0x17000048 RID: 72
		// (get) Token: 0x06000112 RID: 274 RVA: 0x00004691 File Offset: 0x00002891
		// (set) Token: 0x06000113 RID: 275 RVA: 0x00004699 File Offset: 0x00002899
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MissionEventId
		{
			get
			{
				return this.missionEventId_;
			}
			set
			{
				this.missionEventId_ = value;
			}
		}

		// Token: 0x06000114 RID: 276 RVA: 0x000046A2 File Offset: 0x000028A2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as AcceptMissionEventCsReq);
		}

		// Token: 0x06000115 RID: 277 RVA: 0x000046B0 File Offset: 0x000028B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(AcceptMissionEventCsReq other)
		{
			return other != null && (other == this || (this.MissionEventId == other.MissionEventId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06000116 RID: 278 RVA: 0x000046E0 File Offset: 0x000028E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.MissionEventId != 0U)
			{
				num ^= this.MissionEventId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06000117 RID: 279 RVA: 0x0000471F File Offset: 0x0000291F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06000118 RID: 280 RVA: 0x00004727 File Offset: 0x00002927
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06000119 RID: 281 RVA: 0x00004730 File Offset: 0x00002930
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.MissionEventId != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.MissionEventId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600011A RID: 282 RVA: 0x00004764 File Offset: 0x00002964
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.MissionEventId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MissionEventId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600011B RID: 283 RVA: 0x000047A2 File Offset: 0x000029A2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(AcceptMissionEventCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.MissionEventId != 0U)
			{
				this.MissionEventId = other.MissionEventId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600011C RID: 284 RVA: 0x000047D3 File Offset: 0x000029D3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600011D RID: 285 RVA: 0x000047DC File Offset: 0x000029DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 96U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.MissionEventId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400004D RID: 77
		private static readonly MessageParser<AcceptMissionEventCsReq> _parser = new MessageParser<AcceptMissionEventCsReq>(() => new AcceptMissionEventCsReq());

		// Token: 0x0400004E RID: 78
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400004F RID: 79
		public const int MissionEventIdFieldNumber = 12;

		// Token: 0x04000050 RID: 80
		private uint missionEventId_;
	}
}
